<%@ Page Title="Edit or Create Answer" Language="C#" MasterPageFile="~/Views/Shared/Employee.Master" Inherits="System.Web.Mvc.ViewPage<DomainModel.Entities.Answer>" %>

<asp:Content ContentPlaceHolderID="TitleContent" runat="server">
	Edit or Create Answer
</asp:Content>

<asp:Content ContentPlaceHolderID="MainContent" runat="server">

<% using (Html.BeginForm("EditAnswer", "Questions"))
{ %>
    
    <h2>Edit or Create Answer</h2>
    
    <%= Html.ValidationSummary("Edit was unsuccessful. Please correct the errors and try again.") %>
    
    <fieldset class="staffingexpert">
    
    <legend class="staffingexpert">Answer</legend>
    
    <%= Html.Hidden("AnswerID")%>
    <%= Html.Hidden("QuestionID")%>
   
    <p>
        <label class="staffingexpert" for="QAnswer">Answer:</label>
        <br/><%= Html.TextBox("QAnswer", null, new { @class = "staffingexperttextbox", @style = "width: 610px;" })%>
        <%=Html.ValidationMessage("QAnswer", "*")%>
    </p>
    
    <p>
        <label class="staffingexpert" for="Value">Value:</label>
        <br/><%= Html.TextBox("Value", null, new { @class = "staffingexperttextbox", @style = "width: 20px;" })%>
        <%=Html.ValidationMessage("Value", "*")%>
    </p>
    
     <p><input class="staffingexpert" type="submit" value="Save"/>
     | <%= Html.ActionLink("Cancel", "Index")%></p>
     
     </fieldset>
    
<% } %>

</asp:Content>
